package com.bridgeintelligent.tag.scene.api.entity;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.util.ArrayList;
import java.util.List;

/**
 * @description
 * @author: grp 2021-01-07 11:13
 **/
@Getter
@Setter
@Accessors(chain = true)
public class SceneCatalog {
    //id
    private String id;
    //目录类型
    private String type;
    //目录名称
    private String name;
    //父目录Id
    private String parentId;
    //排序字段
    private Integer number;
    //目录级别
    private int level;
    //id路径
    private String idPath = ",";
    //名称路径
    private String namePath = ",";
    //子目录
    List<SceneCatalog> children = new ArrayList<>();
    //该目录下的所有场景数量
    private String num;
}
